package com.example.sneakerappforme1105.bean;

import com.google.gson.annotations.SerializedName;

public class BackendGoods {
    // 用于解析后端的Goods类
    @SerializedName("goodsId")
    private long goodsId;

    @SerializedName("category")
    private Category category;

    @SerializedName("name")
    private String name;


    @SerializedName("des")
    private String des;

    @SerializedName("price")
    private double price;

    @SerializedName("imageData")
    private String imageData;

    @SerializedName("capcity")
    private int capcity;

    @SerializedName("status")
    private int status;

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }


    public String getImageData() {
        return imageData;
    }

    public void setImageData(String imageData) {
        this.imageData = imageData;
    }

    public int getCapcity() {
        return capcity;
    }

    public void setCapcity(int capcity) {
        this.capcity = capcity;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
}
